<!DOCTYPE html>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<html>
	<head>
		<meta charset="utf-8">
		<title>Message management : see detail</title>
	</head> 
	<body>
		<header>
		<h1>Message</h1>
			<nav>
   				<%@include file="Nav.jsp" %>
			</nav>
		</header>
		<h2>Current Message: ${message.id}</h2>
   			<div>
   			<div><b>Id:</b><c:out value="${message.id}"/> 
   					<a href="<c:url value="/message/detail?id=${message.id}" />">Detail</a> | 
   					<a href="<c:url value="/message/update?id=${message.id}" />">Update</a> | 
   					<a href="<c:url value="/message/delete?id=${message.id}" />">Delete</a>
   				</div>
   				<p><b>Title</b> <c:out value="${message.title}"/></p>
   				 <ul>
   				 	<li><b>Message</b> <c:out value="${message.message}"/></li>
   				 	<li><b>Date</b> <c:out value="${message.date}"/></li>
   				 	<li><b>IdUser</b> <c:out value="${message.iduser}"/></li>

   				 </ul>
   				 </div>

	</body>
</html>